async function index(ctx, next) {
   let messages = await ctx.dbQuery('select * from message');
   console.log(messages);
   await ctx.render('home', {messages});
}

module.exports = { index };